import unittest
from script.test01_login import TestLoginAPI
import time
from lib.HTMLTestRunner_PY3 import HTMLTestRunner
import app

suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestLoginAPI))

report = app.past_dir + "/report/report.html"

with open(report, "wb") as f:
    runner = HTMLTestRunner(f, 3, "接口测试报告")
    runner.run(suite)
